Details of SQL Server methods for odbc and DBI generics.
isTempTable()
Local temp tables are stored as
[tempdb].[dbo].[#name]_____[numeric identifier], so isTempTable()
returns TRUE if catalog_name is "tempdb" or "%", or the
name starts with "#".
dbExistsTable()
The default implementation reports temporary tables as non-existent
since they live in a different catalog. This method provides a special
case for temporary tables, as identified by isTempTable().
dbListTables()
The default implementation reports temporary tables as non-existent
when a catalog_name isn't supplied since they live in a different catalog.
This method provides a special case for temporary tables.
odbcConnectionSchemas
Method for an internal function. Calls catalog-specific sp_tables to make
sure we list the schemas in the appropriate database/catalog.
sqlCreateTable()
Warns if temporary = TRUE but the name does not conform to temp table
naming conventions (i.e. it doesn't start with #).
odbcConnectionColumns_()
If temp table, query the database for the
actual table name.
odbcConnectionColumns_()
Copied over from odbc-connection to avoid S4 dispatch NOTEs.